package com.burgeon.backend.SHOP.service;

import com.burgeon.backend.SHOP.entity.PayData;

import java.util.HashMap;

/**
 * 微信支付
 */
public interface PayWechatService {

    /**
     * 商品退款
     */
    HashMap<String,String> goodsRefund(String token, String orderId, String price, String orderPrice, String cause, String refundNo);

    /**
     * 发送预支付并生成二次签名
     * @param openid
     * @param token
     * @param out_trade_no
     * @param total_fee
     * @param body
     * @return
     */

    PayData createUnified(String notify_url,
            String openid, String token, String out_trade_no, String total_fee, String body) throws Exception;


}
